class A:
    name = "A"

    def __init__(self):
        self.name = "obj"

a = A()
print(a.name)